package cn.south.campus.business.model.enums;

/**
 * <p>
 *
 * </p>
 *
 * @author chow
 * @since 2024/11/13 10:54
 */
public interface StudentEnums {
    Integer getCode();

    String getDesc();

    enum AuthStatusEnums implements StudentEnums {
        NO_AUTH(0, "未认证"),
        AUTHING(1, "认证中"),
        AUTH_SUCCESS(2, "认证成功"),
        AUTH_FAIL(3, "认证失败"),
        ;

        private final Integer code;
        private final String desc;

        AuthStatusEnums(Integer code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        @Override
        public Integer getCode() {
            return code;
        }

        @Override
        public String getDesc() {
            return desc;
        }
    }
}
